﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WHMCS.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="NextGenSystems.WHMCS.Website.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="rightnow">
                    <h3 class="reallynow">
                        <span>Summary</span>
                        <a href="#" class="add">Add New Product</a>
                        <a href="#" class="app_add">Some Action</a>
                        <br />
                    </h3>
				    <p class="youhave">You have <a href="#">19 new orders</a>, <a href="#">12 new users</a> and <a href="#">5 new reviews</a>, today you made <a href="#">$1523.63 in sales</a> and a total of <strong>$328.24 profit </strong>
                    </p>
			  </div>
             

              <div id="infowrap">
                <div id="infobox" style="width: 700px">
                    <h3>Last 5 Customers</h3>
                    <table>
						<thead>
							<tr>
                            	<th>Contact</th>
                                <th>Company Name</th>
                                <th>Email</th>
                            </tr>
						</thead>
						<tbody>
							<asp:Repeater ID="Repeater1" runat="server">
                                <ItemTemplate>
                                    <tr>
                            	        <td><a href='<%# Eval("email","customer.aspx?id={0}") %>'><%# Eval("Firstname") %>  <%# Eval("Lastname") %></a></td>
                                        <td><%# Eval("CompanyName") %></td>
                                        <td><%# Eval("Email") %></td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                            
							
						</tbody>
					</table>
                    <br /><br />
                     <h3>Last 5 Invoices</h3>
                    <table>
						<thead>
							<tr>
                            	<th>Invoice Number</th>
                                <th>Total</th>
                                <th>Status</th>
                            </tr>
						</thead>
						<tbody>
							<asp:Repeater ID="Repeater2" runat="server">
                                <ItemTemplate>
                                    <tr>
                            	        <td><a href='<%# Eval("id","customer.aspx?id={0}") %>'><%# Eval("Invoicenum")%></a></td>
                                        <td><%# Eval("Total") %></td>
                                        <td><%# Eval("Status")%></td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                            
							
						</tbody>
					</table>                        
                  </div>



              </div> 

</asp:Content>
